package syntaxtree;
import visitor.*;
import visitor.TypeVisitor;

public class IdentifierType extends Type {
  public String s;

  public IdentifierType(String as) {
    s=as;
  }

  public void accept(Visitor v) {
    v.visit(this);
  }

  public Type accept(TypeVisitor v) {
	    return v.visit(this);
	  }
	  
  public Type accept(BuildVisitor v) {
	    return new IdentifierType(this.s);
	  }
	  
	  
}
